﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MenuDuSoir.aspx.cs" Inherits="WebApplication1.MenuDuSoir" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   
    <h2>Vous pouvez faire ce soir:
    </h2>
    <asp:GridView ID="grvMenuDuSoir" runat="server" autogeneratecolumns="False"
            onselectedindexchanged="grvMenuDuSoir_SelectedIndexChanged">
            <Columns>

                <asp:HyperLinkField DataNavigateUrlFields="id_recette" 
                    DataNavigateUrlFormatString="DetailRecette.aspx?id_recette={0}" HeaderText="id" 
                    SortExpression="id_recette" DataTextField="id_recette" Target="_top"  />
                
                <asp:BoundField DataField="nom" HeaderText="nom" 
                    SortExpression="nom" />
                <asp:BoundField DataField="tps_total" HeaderText="temps total" 
                    SortExpression="tps_preparation" />
                <asp:BoundField DataField="cout" HeaderText="coût" SortExpression="cout" />
                <asp:BoundField DataField="difficulte" HeaderText="difficulté" 
                    SortExpression="difficulte" />
               <%-- <asp:BoundField DataField="nbringr" HeaderText="nombre d'ingrédients manquants" 
                    SortExpression="difficulte" />--%>
               

            </Columns>

        </asp:GridView>
    <asp:Label ID="lblLogin" runat="server" Visible="False"></asp:Label>
    <br />
</asp:Content>
